'use strict';

module.exports = app => {
  app.all('/auth/token', app.oAuth2Server.token());
  require('./router/api')(app);
  require('./router/auth')(app);
};
